package org.example.handler;import io.netty.channel.ChannelHandlerContext;import io.netty.channel.SimpleChannelInboundHandler;public class RpcClientHandler extends SimpleChannelInboundHandler<Object> {    private Object result;    public Object getResult() {        return result;    }    @Override    protected void channelRead0(ChannelHandlerContext channelHandlerContext, Object o) throws Exception {        this.result = o;    }    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {        cause.printStackTrace();        ctx.close();    }}